package day02;

import java.util.Arrays;
import java.util.stream.IntStream;

/**
 * @author feng
 * @Date 2022/1/1 16:58
 * 数组元素排序
 */
public class Test1 {
    public static void main(String[] args) {
        int[] array = {5,1, 2, 3, 4};
        Arrays.sort(array);
        for (int i = 0; i < array.length; i++) {
            System.out.print(array[i]);
        }
    }
}
